---
title: SharePoint Online (Client Credentials V2)
sidebarTitle: SharePoint Online (Client Credentials V2)
---

import Overview from "/snippets/overview.mdx"
import PreBuiltTooling from "/snippets/generated/sharepoint-online/PreBuiltTooling.mdx"
import PreBuiltUseCases from "/snippets/generated/sharepoint-online/PreBuiltUseCases.mdx"

<Overview />
<PreBuiltTooling />
<PreBuiltUseCases />

## Access requirements
| Pre-Requisites | Status | Comment|
| - | - | - |
| Paid dev account | ❓ |  |
| Paid test account | ❓ |  |
| Partnership | ❓ | |
| App review | ❓ |  |
| Security audit | ❓ | |


## Setup guide

_No setup guide yet._

<Tip>Need help getting started? Get help in the [community](https://nango.dev/slack).</Tip>

<Note>Contribute improvements to the setup guide by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/sharepoint-online-oauth2-cc.mdx)</Note>


## Useful links

-   [How to register an Application](https://learn.microsoft.com/en-us/onedrive/developer/rest-api/getting-started/graph-oauth?view=odsp-graph-online#register-your-app)
-   [OAuth related docs](https://learn.microsoft.com/en-us/graph/auth-v2-service?tabs=curl#step-3-request-an-access-token)
-   [How to configure permissions](https://learn.microsoft.com/en-us/graph/auth-v2-service?tabs=curl#step-1-configure-permissions-for-microsoft-graph)
-   [REST API docs](https://learn.microsoft.com/en-us/graph/api/resources/sharepoint?view=graph-rest-1.0)

<Note>Contribute useful links by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/sharepoint-online-oauth2-cc.mdx)</Note>

## API gotchas

-   Nango supports both SharePoint Online v1 and v2, providing flexibility for integrations depending on your requirements. SharePoint v1 refers to the older REST API, which uses legacy authentication methods like SharePoint Online (SPO) or older OAuth implementations. Its endpoints follow the pattern `https://<your-tenant>.sharepoint.com/_api/`, and it supports basic SharePoint operations. However, v1 lacks modern features such as delta queries for incremental sync and deep integration with Microsoft 365.
-   Sharepoint Online v2, on the other hand, is a modernized version aligned with the Microsoft Graph API. It uses OAuth 2.0 with the Microsoft Identity Platform (formerly Azure AD) for secure and scalable authentication. Endpoints for v2 are primarily accessed through `https://graph.microsoft.com/v1.0/sites/...`, and it offers advanced capabilities like delta queries for incremental sync, enhanced performance, and seamless integration with Microsoft 365 services.

<Note>Contribute API gotchas by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/sharepoint-online-oauth2-cc.mdx)</Note>

<Card title="Connect to SharePoint Online (Client Credentials V2)" icon="link" href="/integrations/all/sharepoint-online-oauth2-cc/connect" horizontal>
  Guide to connect to SharePoint Online (Client Credentials V2) using Connect UI
</Card>